<extend name="Public/base" />
<block name="content">
<div id="content">
	<div id="content-header">
		<div id="breadcrumb">
			<a href="{:U('Index/index')}" title="首页" class="tip-bottom"><i class="icon-home"></i> 首页</a> 
			<a href="#" class="current">{$meta_title}</a>
		</div>
	</div>
	<div class="container-fluid search-form">
		<br/>
		<button class="btn btn-danger confirm" id="ids">确定回收</button>
		<div class=" fr cf">
			<div class="sleft">
				<input type="text" name="search_text" class="search-input span4" maxlength="3600" value="{:strip_tags(I('search_text'))}" placeholder="手机号用英文状态下逗号分隔" style="margin-bottom:0;">
				<button class="btn btn-info" id="search_button" url="{:U('ServiceManage/changeBindCustomer')}"><i class="icon-search icon-white"></i></button>
			</div>
		</div>
		
		<div class="row-fluid">
			<div class="span12">
				<div class="widget-box">
					<div class="widget-content ">
					<notempty name="_list">
						<form id="export-form" method="post" action="" autocomplete="off">
							<table class="table table-bordered table-striped">
								<thead>
									<tr>
										<th><input class="checkbox check-all" type="checkbox"></th>
										<th nowrap="nowrap">序号</th>
										<th>客户名</th>
										<th>现绑定人</th>
									</tr>
								</thead>
								<tbody>
									<volist name="_list" id="vo">
										<tr>
											<td class="taskStatus"><input type="checkbox" value="{$vo.customer_id}" name="id[]" class="ids"/></td>
											<td class="taskStatus">{$i}</td>
											<td class="taskStatus">{$vo.customer_id|getServiceCustomerName|msubstr=###,0,20}</td>
											<td class="taskStatus">{$vo.member_id|getUserName|msubstr=###,0,20}</td>
										</tr>
									</volist>
								</tbody>
							</table>
						</form>
					<else/>
						<center>请根据手机号进行查询</center>
					</notempty>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
$(function (){
	$("#ids").click(function(){
		$("#search_button").attr('url',"{:U('ServiceManage/changeBindCustomerNew')}");
		$("#search_button").trigger('click');
	});
});
//导航高亮
highlight_subnav("{:U('ServiceManage/changeBindCustomer')}");
</script>
</block>